package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 智能机器人问题答案库 视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "Robot 视图", description = "智能机器人问题答案库 视图")
public class RobotVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 问题
     */
    @ApiModelProperty(value = "问题")
    @Excel(name = "问题", orderNum = "0")
    private String problem;

    /**
     * 答案
     */
    @ApiModelProperty(value = "答案")
    @Excel(name = "答案", orderNum = "0")
    private String answer;

    /**
     * 类别
     */
    @ApiModelProperty(value = "类别")
    @Excel(name = "类别", orderNum = "0")
    private String type;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词")
    @Excel(name = "关键词", orderNum = "0")
    private String keyWord;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbCreateTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @Excel(name = "修改人", orderNum = "0")
    private Integer dbUpdateId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;


}
